From: David Vrabel Date: Fri, 8 May 2015 10:21:17 +0000 (+0200) Subject: x86: reduce struct paging_domain size X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3314 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=266fddd0774040096739bf225267f885cfb6b675;p=xen.git x86: reduce struct paging_domain size Pack struct paging_domain to reduce it by 8 bytes. Thus reducing the size of struct domain by 8 bytes. Signed-off-by: David Vrabel --- diff --git a/xen/include/asm-x86/domain.h b/xen/include/asm-x86/domain.h index 3f83e8ba59..45b5283d8d 100644 --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -186,6 +186,8 @@ struct paging_domain { /* flags to control paging operation */ u32 mode; + /* Has that pool ever run out of memory? */ + bool_t p2m_alloc_failed; /* extension for shadow paging support */ struct shadow_domain shadow; /* extension for hardware-assited paging */ @@ -210,8 +212,6 @@ struct paging_domain { * (used by p2m and log-dirty code for their tries) */ struct page_info * (*alloc_page)(struct domain *d); void (*free_page)(struct domain *d, struct page_info *pg); - /* Has that pool ever run out of memory? */ - bool_t p2m_alloc_failed; }; struct paging_vcpu {